package com.hzlx.service;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.hzlx.bean.Address;
import com.hzlx.dao.AddressDao;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class AddressService {
    @Resource
    AddressDao addressDao;
    public void find(){
        addressDao.selectList(Wrappers.emptyWrapper());
    }
    public void add(Address address){
        addressDao.insert(address);
    }
}
